<#include "/default/layout/account.htm"/> 
<@layout>
      <div class="block-center mt-xl wd-xl">
         <div class="panel panel-dark panel-flat">
            <div class="panel-body" id="setNewPwdPage">
               <p class="text-center pv">修改密码</p>
               <form method="POST" action="${ctx}/user/resetpw?redirect=${RequestParameters.redirect}&key=${key}">
                  <div class="form-group has-feedback">
                  	 <label for="oldpassword" class="text-muted">手机号</label>
                     <input type="text" placeholder="邮箱地址或手机号"  class="form-control" required="required" name="phone" value="${phone!}" readonly="readonly"/>
                     <span class="fa fa-envelope form-control-feedback text-muted"></span>
                  </div>
                  <div class="form-group has-feedback">
                     <label for="newpassword" class="text-muted">新密码</label>
                     <input id="newpassword" type="password" placeholder="请输入6-16位字母数字组合" class="form-control" name="newpassword"  value="${newpassword!}"/>
                     <span class="fa fa-lock form-control-feedback text-muted"></span>
                  </div>
                  <div class="form-group has-feedback">
                     <label for="checknewpassword" class="text-muted">确认新密码</label>
                     <input id="checknewpassword" type="password" placeholder="请输入6-16位字母数字组合" class="form-control" name="checknewpassword"  value="${checknewpassword!}"/>
                     <span class="fa fa-lock form-control-feedback text-muted"></span>
                  </div>
                  <p class="text-center" style="color: red" id="message" >${message!}</p>
                  <button id="setNewPwdButton" type="submit" class="btn btn-block btn-primary mt-lg">提交</button>
               </form>
			   <p></p>
               <a href="${ctx}/login?redirect=${RequestParameters.redirect}" class="btn btn-block btn-default">返回登录</a>
            </div>
         </div>
         <div class="p-lg text-center">
         </div>
      </div>      
  	
</@layout>